import { PageQuery, PageResult } from '@/api/types'
/**
 * 评论查询参数
 */
export interface CommentQuery extends PageQuery {
  blogTitle?: string
  status?: string
  startTime?: string
  endTime?: string
}

/**
 * 评论详细
 */
export interface CommentPageVO {
  id?: number

  blogId?: number

  parentId?: number

  uid?: number

  address?: string

  content?: string

  likes?: number

  contentImg?: string

  createTime?: Date

  status?: string

  enabled?: boolean
}

/**
 * 评论分页项类型声明
 */
export type CommentPageResult = PageResult<CommentPageVO[]>

/**
 * 评论对象
 */
export interface CommentVO {
  id?: number | string

  blogId?: number | string

  parentId?: number | string

  uid?: number | string

  address?: string

  content?: string

  likes?: number

  contentImg?: string

  createTime?: Date

  status?: string

  enabled?: boolean
}
